package com.meiyou.mapper;

import com.meiyou.pojo.MeiyouYhask;
import com.meiyou.pojo.MeiyouYhaskExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MeiyouYhaskMapper {
    int countByExample(MeiyouYhaskExample example);

    int deleteByExample(MeiyouYhaskExample example);

    int deleteByPrimaryKey(Integer yId);

    int insert(MeiyouYhask record);

    int insertSelective(MeiyouYhask record);

    List<MeiyouYhask> selectByExample(MeiyouYhaskExample example);

    MeiyouYhask selectByPrimaryKey(Integer yId);

    int updateByExampleSelective(@Param("record") MeiyouYhask record, @Param("example") MeiyouYhaskExample example);

    int updateByExample(@Param("record") MeiyouYhask record, @Param("example") MeiyouYhaskExample example);

    int updateByPrimaryKeySelective(MeiyouYhask record);

    int updateByPrimaryKey(MeiyouYhask record);
    
    int updState(int yId);
}